package com.ruoyi.eqmonitor.smdtv.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;

/**
 * 超图表--溢流井液位
 */
@Data
public class Smdtv12 implements Serializable {
    /**
     * id
     */
    private Integer smid;

    /**
     * 
     */
    private Double smx;

    /**
     * 
     */
    private Double smy;

    /**
     * 
     */
    private Long smlibtileid;

    /**
     * 
     */
    private Integer smuserid;

    /**
     * 
     */
    private Double fid;

    /**
     * 产品名
     */
    private String cpName;

    /**
     * 产品型
     */
    private String cpx;

    /**
     * 站点ID
     */
    private String zdId;

    /**
     * 站点名
     */
    private String name;

    /**
     * 站点图
     */
    private String zdt;

    /**
     * 站点编
     */
    private String zdbh;

    /**
     * 安装时
     */
    private String azs;

    /**
     * 位置
     */
    private String wz;

    /**
     * GCJ02经
     */
    private String gcj02j;

    /**
     * GCJ02纬
     */
    private String gcj02w;

    /**
     * WGS84经
     */
    private Double wgs84j;

    /**
     * WGS84纬
     */
    private Double wgs84w;

    /**
     * 
     */
    private String shytype;

    /**
     * 
     */
    private String town;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        Smdtv12 other = (Smdtv12) that;
        return (this.getSmid() == null ? other.getSmid() == null : this.getSmid().equals(other.getSmid()))
            && (this.getSmx() == null ? other.getSmx() == null : this.getSmx().equals(other.getSmx()))
            && (this.getSmy() == null ? other.getSmy() == null : this.getSmy().equals(other.getSmy()))
            && (this.getSmlibtileid() == null ? other.getSmlibtileid() == null : this.getSmlibtileid().equals(other.getSmlibtileid()))
            && (this.getSmuserid() == null ? other.getSmuserid() == null : this.getSmuserid().equals(other.getSmuserid()))
            && (this.getFid() == null ? other.getFid() == null : this.getFid().equals(other.getFid()))
            && (this.getCpName() == null ? other.getCpName() == null : this.getCpName().equals(other.getCpName()))
            && (this.getCpx() == null ? other.getCpx() == null : this.getCpx().equals(other.getCpx()))
            && (this.getZdId() == null ? other.getZdId() == null : this.getZdId().equals(other.getZdId()))
            && (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
            && (this.getZdt() == null ? other.getZdt() == null : this.getZdt().equals(other.getZdt()))
            && (this.getZdbh() == null ? other.getZdbh() == null : this.getZdbh().equals(other.getZdbh()))
            && (this.getAzs() == null ? other.getAzs() == null : this.getAzs().equals(other.getAzs()))
            && (this.getWz() == null ? other.getWz() == null : this.getWz().equals(other.getWz()))
            && (this.getGcj02j() == null ? other.getGcj02j() == null : this.getGcj02j().equals(other.getGcj02j()))
            && (this.getGcj02w() == null ? other.getGcj02w() == null : this.getGcj02w().equals(other.getGcj02w()))
            && (this.getWgs84j() == null ? other.getWgs84j() == null : this.getWgs84j().equals(other.getWgs84j()))
            && (this.getWgs84w() == null ? other.getWgs84w() == null : this.getWgs84w().equals(other.getWgs84w()))
            && (this.getShytype() == null ? other.getShytype() == null : this.getShytype().equals(other.getShytype()))
            && (this.getTown() == null ? other.getTown() == null : this.getTown().equals(other.getTown()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getSmid() == null) ? 0 : getSmid().hashCode());
        result = prime * result + ((getSmx() == null) ? 0 : getSmx().hashCode());
        result = prime * result + ((getSmy() == null) ? 0 : getSmy().hashCode());
        result = prime * result + ((getSmlibtileid() == null) ? 0 : getSmlibtileid().hashCode());
        result = prime * result + ((getSmuserid() == null) ? 0 : getSmuserid().hashCode());
        result = prime * result + ((getFid() == null) ? 0 : getFid().hashCode());
        result = prime * result + ((getCpName() == null) ? 0 : getCpName().hashCode());
        result = prime * result + ((getCpx() == null) ? 0 : getCpx().hashCode());
        result = prime * result + ((getZdId() == null) ? 0 : getZdId().hashCode());
        result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
        result = prime * result + ((getZdt() == null) ? 0 : getZdt().hashCode());
        result = prime * result + ((getZdbh() == null) ? 0 : getZdbh().hashCode());
        result = prime * result + ((getAzs() == null) ? 0 : getAzs().hashCode());
        result = prime * result + ((getWz() == null) ? 0 : getWz().hashCode());
        result = prime * result + ((getGcj02j() == null) ? 0 : getGcj02j().hashCode());
        result = prime * result + ((getGcj02w() == null) ? 0 : getGcj02w().hashCode());
        result = prime * result + ((getWgs84j() == null) ? 0 : getWgs84j().hashCode());
        result = prime * result + ((getWgs84w() == null) ? 0 : getWgs84w().hashCode());
        result = prime * result + ((getShytype() == null) ? 0 : getShytype().hashCode());
        result = prime * result + ((getTown() == null) ? 0 : getTown().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", smid=").append(smid);
        sb.append(", smx=").append(smx);
        sb.append(", smy=").append(smy);
        sb.append(", smlibtileid=").append(smlibtileid);
        sb.append(", smuserid=").append(smuserid);
        sb.append(", fid=").append(fid);
        sb.append(", cpName=").append(cpName);
        sb.append(", cpx=").append(cpx);
        sb.append(", zdId=").append(zdId);
        sb.append(", name=").append(name);
        sb.append(", zdt=").append(zdt);
        sb.append(", zdbh=").append(zdbh);
        sb.append(", azs=").append(azs);
        sb.append(", wz=").append(wz);
        sb.append(", gcj02j=").append(gcj02j);
        sb.append(", gcj02w=").append(gcj02w);
        sb.append(", wgs84j=").append(wgs84j);
        sb.append(", wgs84w=").append(wgs84w);
        sb.append(", shytype=").append(shytype);
        sb.append(", town=").append(town);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}